
<h2>比赛列表</h2>

<table>
  <tr>
    <th></th>
  </tr>

<% @competitions.each do |competition| %>
  <tr>
    <td><%= link_to competition.name, competition %></td>
  </tr>
<% end %>
</table>

<br />

<%# link_to 'New Competition', new_competition_path %>
